package com.lvmama.rhino.message;

/**
 * Created by wuyunpeng on 2016/4/26.
 */
public class RhinoMessage {

    private String strMessage;

    private Object objMessage;


    public String getStrMessage() {
        return strMessage;
    }

    public void setStrMessage(String strMessage) {
        this.strMessage = strMessage;
    }

    public Object getObjMessage() {
        return objMessage;
    }

    public void setObjMessage(Object objMessage) {
        this.objMessage = objMessage;
    }

    @Override
    public String toString() {
        return "strMessage='" + strMessage + '\'' +
                ", objMessage=" + objMessage +
                '}';
    }

    public RhinoMessage(Object objMessage) {
        this.objMessage = objMessage;
    }

    public RhinoMessage(String strMessage) {
        this.strMessage = strMessage;
    }

    public RhinoMessage(String strMessage, Object objMessage) {
        this.strMessage = strMessage;
        this.objMessage = objMessage;
    }
}
